// banner管理
import request from '@/utils/request'
export function fetchList(params) {
  return request({
    url: '/crm/banner/list',
    method: 'get',
    params: params
  })
}
export function bannerDeleteStatus(params) {
  return request({
    url: '/crm/banner/remove',
    method: 'post',
    params: params
  })
}

// 查询banner渲染页面
export function updateById(id) {
  return request({
    url: '/crm/banner/getById?id='+id,
    method: 'get',
  })
}
// 启用禁用5
export function updateShowStatus(data) {
  console.log(data,2222)
  return request({
    url:'/crm/banner/setStatus',
    method:'post',
    data:data
  })
}
